/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
/*
package com.smarttmt.idu.smarttmtiduapp.jpa.persistence;

import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;
*/
/**
 *
 * @author root
 */
/*
@Entity
@Table(name = "CLASDOID")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "Clasdoid.findAll", query = "SELECT c FROM Clasdoid c"),
    @NamedQuery(name = "Clasdoid.findByCldicodi", query = "SELECT c FROM Clasdoid c WHERE c.cldicodi = :cldicodi"),
    @NamedQuery(name = "Clasdoid.findByCldidesc", query = "SELECT c FROM Clasdoid c WHERE c.cldidesc = :cldidesc"),
    @NamedQuery(name = "Clasdoid.findByClditini", query = "SELECT c FROM Clasdoid c WHERE c.clditini = :clditini")})
public class Clasdoid implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 2)
    @Column(name = "CLDICODI")
    private String cldicodi;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 30)
    @Column(name = "CLDIDESC")
    private String cldidesc;
    @Size(max = 2)
    @Column(name = "CLDITINI")
    private String clditini;

    public Clasdoid() {
    }

    public Clasdoid(String cldicodi) {
        this.cldicodi = cldicodi;
    }

    public Clasdoid(String cldicodi, String cldidesc) {
        this.cldicodi = cldicodi;
        this.cldidesc = cldidesc;
    }

    public String getCldicodi() {
        return cldicodi;
    }

    public void setCldicodi(String cldicodi) {
        this.cldicodi = cldicodi;
    }

    public String getCldidesc() {
        return cldidesc;
    }

    public void setCldidesc(String cldidesc) {
        this.cldidesc = cldidesc;
    }

    public String getClditini() {
        return clditini;
    }

    public void setClditini(String clditini) {
        this.clditini = clditini;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (cldicodi != null ? cldicodi.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Clasdoid)) {
            return false;
        }
        Clasdoid other = (Clasdoid) object;
        if ((this.cldicodi == null && other.cldicodi != null) || (this.cldicodi != null && !this.cldicodi.equals(other.cldicodi))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.smarttmt.idu.smarttmtiduapp.jpa.persistence.Clasdoid[ cldicodi=" + cldicodi + " ]";
    }
    
}
*/